<@master template="master/master-p2p"  title="角色信息" appendCss="css.bootstrap">
<@css href="/js/public/ztree/css/zTreeStyle/zTreeStyle.css"/>
<div class="row" style="opacity: 1;">
	<div id="resoList" style="display:none;">${allResList}</div>
	<div id="myResList" style="display:none;">${myResList}</div>
	<input type="hidden" id="roleLevelHidden" value="${role.roleLevel}">
	<div class="col-lg-12">
         <div class="detailsBox">
         <h3><p class="fr"><a class="edit btn_blue" id="save_roleRes">保存</a> <a class="edit btn_blue ml10" id="save_roleRes" href="/act/role/list">返回</a></p><i class="jtIco"></i>角色信息</h3>
         <div class="main-box-body clearfix mt10">
		  	   <div class="col-sm-4">
                    <div class="col_list">
                        <div>菜单权限</div>
                        <div class="mt10 clearfix">
                            <input type="hidden" id="role_menus" name="menuIds" class="form-control" value="${menuIds}">
                  			<ul id="treeDiv" class="ztree"></ul>
                        </div>
                    </div>
                </div>
		  <div class="col-lg-6">
               <div class="ml20">角色名称</div>
				<div class="mt10 clearfix">
					<form id="edit_form" role="form" class="form-horizontal action-ajax-form" method="POST">
						<input type="hidden" name="id" id="role_id" value="${role.id}">
						<div class="formGroup">
							<span class="control-label" for="roleName">角色名称</span>
							<input type="text" id="roleName" name="roleName" class="form-control" value="${role.roleName}">
              			</div>
             			<div class="formGroup">
							<span class="control-label" for="roleCode">角色CODE</span>
							<input type="text" id="roleCode" name="roleCode" class="form-control" value="${role.roleCode}">
              			</div>
              			<div class="formGroup">
							<span class="control-label" for="description">角色描述</span>
							<input type="text" id="description" name="description" class="form-control" value="${role.description}">
              			</div>
             		 <input type="hidden" id="roleResJson" name="roleResJson" class="form-control">
            		</form>
				</div>
			</div>
      </div>
</div>
</@master>
<@js src="/js/public/ztree/js/jquery.ztree.core.min.js;/js/public/ztree/js/jquery.ztree.excheck.min.js;/js/p2p/sys/common/treeMenu.js;/js/p2p/sys/permission/roleInfo.js"/><@jsRender/>
